package com.s3.khospitalds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.s3.khospitalds.entity.Complaintpatient;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Author: 想要告诉你
 * @CreateTime: 2025/3/11 14:42
 * @Description:
 * @Version: 1.0
 */
@Mapper
@Repository
public interface ComplaintpatientMapper extends BaseMapper<Complaintpatient> {
    @Update("UPDATE complaintpatient SET reply=#{reply}  WHERE id=#{id} ")
    public int updateByReply(@Param("reply") String reply, @Param("id") Integer id);
}
